package com.tour.pojo;

import java.util.Date;

public class Tourist {
    private Integer touristId;

    private Integer orderId;

    private String realname;

    private String idCard;

    private String gender;

    private String phone;

    private Date createTime;

    private Date updateTime;

    public Tourist(Integer touristId, Integer orderId, String realname, String idCard, String gender, String phone, Date createTime, Date updateTime) {
        this.touristId = touristId;
        this.orderId = orderId;
        this.realname = realname;
        this.idCard = idCard;
        this.gender = gender;
        this.phone = phone;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Tourist() {
        super();
    }

    public Integer getTouristId() {
        return touristId;
    }

    public void setTouristId(Integer touristId) {
        this.touristId = touristId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard == null ? null : idCard.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}